<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 cgi_center_guestbook_edit.php
 *                            -------------------
 *   Begin                : Wednesday, April 20, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = "Edit Guestbook Template";
include $root_path.'page_header.php';

$template->set_filenames(array(
	'body' => $root_path.$template_path.'scripts/cgi_center_guestbook_edit.tpl')
);

$error_page = <<<EOFpacman
<cpanel Fileman="fmpushfile($homedir/.htmltemplates,default)">
EOFpacman;

$s_hidden_inputs = "<input type=hidden name=file value=\"default\"><input type=hidden name=dir value=\"<cpanel print="$homedir/.htmltemplates">\">";

$template->assign_vars(array(
	'PAGE_CONTENT' => $error_page,
	'U_ACTION' => 'cgi_center_guestbook_edit_done.php',
	'S_HIDDEN_INPUTS' => $s_hidden_inputs,
	
	'L_CGI_CENTER' => $lang['cgi_center'],
	)
);





//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>